<?php
	$data["detail"] = $detail;

	$db->update("sar", $data, "id = $id");

	redirect("sar.php?id=$id");
?>